﻿// ----------------------------------------------------------------------
//
// <copyright file="IMVU_Kill_Runner.cs" company="TheAcidToy Inc" Date="2012">
//     TheAcidToy is a registered trademark of TheAcidToy Inc. All right reserved, copywrited: 2012
// </copyright>
//
// ------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

public class IMVU_Kill_Runner
{
    public static void check_IMVU()
    {
        while (true)
        {
            Thread.MemoryBarrier();
            if (IMVU_Helper.IsProcessOpen("IMVUClient"))
            {
                IMVU_Helper.kill_IMVU("IMVUClient");
            }
            Thread.Sleep(1000);
        }
    }
}
